package com.toocms.jinjuhang.data.goods

import com.toocms.jinjuhang.utils.HtmlUtil

data class RescueDetailData(
    val rescue_id: String?,
    val rescue_name: String?,
    val goods: CommodityItemData?,
    val params: List<RescueParamsItemData>?,
) {
    var rescue_desc: String? = ""
        get() {
            return HtmlUtil.optimizeContent(field)
        }
}

data class RescueParamsItemData(val type: String?, val title: String?, val options: List<String>?)